package com.chat.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.common.entity.RoleAuthorityMapping;

import java.util.Collection;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weikjie
 * @since 2024-04-14
 */
public interface IRoleAuthorityMappingService extends IService<RoleAuthorityMapping> {
    /**
     * 批量插入
     * @param entityList
     * @return
     */
    Integer BatchInsertion(Collection<RoleAuthorityMapping> entityList);

    /**
     * 根据角色id删除
     * @param RoleId
     * @return
     */
    int deleteRoleAuthority(Long RoleId);
}
